import random
# 我的幸运数字
myNum = random.randint(0,20)
for ji in range(19):
    # 你猜的幸运数字
    yourNum = int(input('你猜我的幸运数字是多少(有20次机会,在0和20之间):'))
    if (yourNum > myNum):
        print('太大了')
    elif (yourNum < myNum):
        print('太小了')
    else:
        print('答对了!')
        break
